




Page({
  data: {
    imgalist: ['https://wagoxcx.oss-cn-beijing.aliyuncs.com/image/ewm.jpg'],
  },

  
  previewImage: function (e) {
    wx.previewImage({
      current: this.data.imgalist, // 当前显示图片的http链接   
      urls: this.data.imgalist // 需要预览的图片http链接列表   
    })  
    wx.getImageInfo({// 获取图片信息（此处可不要）
      src: 'https://wagoxcx.oss-cn-beijing.aliyuncs.com/image/ewm.jpg',
      success: function (res) {
        console.log(res.width)
        console.log(res.height)
      }
    })
  },
  copy:function(){
    var that = this
    wx.setClipboardData({
      data: '万可微电工联盟',
      success (res) {
        wx.getClipboardData({
          success (res) {
           
          }
        })
      }
    })
  },

 
})